<!DOCTYPE html>
<html>
<head>
<script src="../../../resources/js-test.js"></script>
</head>
<body>
<input type="radio" name="test" id="rd">
<input type="radio" name="test" id="rd2" onchange="handleChange()">
<input type="radio" name="test" id="rd3" value="" onchange="handleChange()">
<script>
description("This is to test onchange of radio buttons");

function handleChange() {
    testPassed('onChange event fired for a radio button.');
}

document.getElementById('rd2').click();
document.getElementById('rd3').click();
</script>
</body>
</html>
